package com.jye.rseven.service;

import com.jye.rseven.domain.Activities;

import java.util.List;

public interface ActivitiesService {

    List<Activities> findAllActivities(int skip, int limit);

    Activities findActivitiesByIdAndUId(int id, int uId);

    List<Activities> findMyActivities(int uId, int skip, int limit);


    List<Activities> findActivitiesByTitle(String title, int skip, int limit);

    List<Activities> findMyActivitesByUIdAndType(int uId,String type, int skip, int limit);

    String addActivities(Activities activities);

    String closeActivitiesById(int id);

    String updateActivities(Activities activities);

    String deleteActivitiesById(int id);

    List<Activities> findActivitesByType(String type, int skip, int limit);

    Activities findActivitiesById(Integer id);

    List<Activities> findAcitivitiesByTitle(String title);
}
